package com.inspection.dao;

import com.inspection.entity.SysUserRoleDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface SysUserRoleDao extends JpaRepository<SysUserRoleDO, Long>, JpaSpecificationExecutor<SysUserRoleDO> {

    List<SysUserRoleDO> findAllByRoleIdIn(Iterable roleIdList);

}